# -*- coding:utf-8 -*-

from django.urls import path
from rest_framework.routers import SimpleRouter

from Apps.User.views import LoginView, CheckUserView, UserView, AvatarFile,SelectUserView

route = SimpleRouter()
route.register('user', UserView, basename='user')

urlpatterns = [
                  path('login/', LoginView.as_view()),
                  path('checkUser/', CheckUserView.as_view()),
                  path('avatarFile/', AvatarFile.as_view()),
                  path('selectUser/', SelectUserView.as_view()),
              ] + route.urls
